package com.e2oto.seller.common;

import android.os.Environment;

import java.io.File;

/**
 * Created by ZhangLiQiang on 2017/8/1.
 */

public class Config {


    //测试服务器
    public static final String APP_HOST = "http://39.108.0.85/zhapi/public/";
    public static final String PICTURE_HOST = "http://t.e2oto.com/";




//    //正式服务器
//
//    private static final String APP_HOST = "http://www.e2oto.com/api/public/";   //正式接口
//    private static final String PICTURE = "http://www.e2oto.com/";   //正式接口


    //图片缓存的本地地址
    private static final String IMAGE_CACHE_DIR = Environment.getExternalStorageDirectory().getAbsolutePath() + "/zh/seller/compress_image";


    public static String getImageCacheDir() {
        File dir = new File(IMAGE_CACHE_DIR);
        if (!dir.exists()) {
            dir.mkdirs();
        }
        return IMAGE_CACHE_DIR;
    }

























    //请求加密参数
    public static final String KEY = "Gp@lBFAoryuqTj^3";
    public static final String IV = "vE+_8HZ7FBq#&xV9";
    public static final int BIT = 128;

}
